<?php
    session_start();
    include_once '../../controlador/php/conexion/Conexion.php';
    $con = new Conexion();
    
    $posi = $_REQUEST['posi'];
    $oid = $_REQUEST['oid'];
    
    $consu = "select seginterpretado,hcnsolexa from lbseguimiento where hcnsolexa = ".$oid;
    $res = $con->query($consu);
    
    while($res2 = mssql_fetch_array($res)){
        $inte = $res2['seginterpretado'];
    }
    
    print_r(json_encode(array('interpretado'=>$inte,'posi'=>$posi)));
    
    
    $con->cerrarConexion(); 
?>
